//
//  DXMLRuleSetObject.h
//  DerbyStatter
//
//  Created by glenn andreas on 1/6/14.
//  Copyright (c) 2014 glenn andreas. All rights reserved.
//

#import "DXMLObject.h"

@interface DXMLRuleSetObject : DXMLObject
+ (DXMLRuleSetObject *) defaultRuleSet; // MAR2014
+ (DXMLRuleSetObject *) ruleSetForName: (NSString *) name;
@property (assign) NSInteger periodCount;
@property (assign) NSInteger timeoutCount;
@property (assign) NSInteger officialReviewCount;
@property (assign) NSInteger officialReviewMaximum;
@property (assign) BOOL officalReviewRetained;
@property (assign) NSInteger penaltyLimit; // before fouling out
@property (assign) BOOL minors;
@property (assign) NSInteger minorsPerMajor;
// length in seconds
@property (assign) NSInteger period;
@property (assign) NSInteger jam;
@property (assign) NSInteger timeout;
@property (assign) NSInteger lineup;
@property (assign) NSInteger penalty;
@end
